package org.payeco.risk.dao;

import java.util.List;

import org.payeco.risk.entity.PayecoRuleModular;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

public interface PayecoRuleModularRepository extends JpaRepository<PayecoRuleModular, Long>{
	
	public PayecoRuleModular findByModularNo(@Param("modularNo") String modularNo);
	
	public List<PayecoRuleModular> findByState(@Param("state") String state);
	
	public List<PayecoRuleModular> findByStateAndCheckmode(@Param("state") String state, @Param("checkmode") String checkmode);
}
